how a mesa is formed